package com.example.weatherreport.location;

import android.graphics.drawable.Drawable;

import java.util.HashMap;
import java.util.Map;

// 缓存当前城市名
public class NowCityUtil {
    private static final Map<String,String> map = new HashMap<>();

    public static void setNowCity(String s){
        map.put("city",s);
    }

    public static String getNowCity(){
        return map.get("city");
    }

    public static void clearNowCity(){
        map.clear();
    }
}
